<template>
  <div class="header" style="line-height: 100%;padding-top: 10px">
        <span style="font-size: 28px;margin-left: 40px">STEAMPY后台管理</span>
    <el-button round style="float:right" @click="logout">logout</el-button>
  </div>
</template>

<script>
export default {
  name: "TheHeader",
  methods(){
    return {
      logout(){
        this.$router.push('/')
      }
    }
  }
}
</script>

<style scoped>


</style>
